package com.zat.mes.andrmes.dofun.work.adapter

import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.widget.CheckBox
import android.widget.ImageView
import android.widget.LinearLayout
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zat.mes.andrmes.R
import com.zat.mes.andrmes.data.DayPlanProduceBeanItem
import com.zat.mes.andrmes.data.MotorWorkRecordBean
import com.zat.mes.andrmes.data.PaiZaiDetailBean
import com.zat.mes.andrmes.data.ProgramSchedulingDetail
import com.zat.mes.andrmes.utils.SpannableStrUtil
import kotlinx.android.synthetic.main.item_item_proc_day_produce_plan.view.*

/**
 * @author xyan
 * @date :2023-07-29
 * @description:
 */
class UpdatePackQtyDetailAdapter(layoutResId: Int) :
    BaseQuickAdapter<PaiZaiDetailBean, BaseViewHolder>(layoutResId) {

    override fun convert(helper: BaseViewHolder, item: PaiZaiDetailBean) {
        helper.setText(R.id.lotNoTV,item.lotNo).setText(R.id.materialCodeTV,item.materialCode).setText(R.id.materialNameTV,item.materialName)
        helper.setGone(R.id.checkbox,true)
    }
}

